from django.urls import path
from . import views
urlpatterns = [
    path('api/v1/engine/flows',views.FlowView.as_view()),
    path('api/v1/engine/flow/<int:id>', views.FlowInfo.as_view()),
    path('api/v1/engine/nodes', views.NodeView.as_view()),
    path('api/v1/engine/node/<int:id>', views.NodeInfo.as_view()),
    path('api/v1/engine/node/attr/types', views.AttrTypeInfo.as_view()),
    path('api/v1/engine/node/attrs', views.NodeAttrView.as_view()),
    path('api/v1/engine/node/attr/<int:id>', views.NodeAttrInfo.as_view()),
    path('api/v1/engine/flow-instances',views.FlowInstanceView.as_view()),
    path('api/v1/engine/flow-instance/<int:id>', views.FlowInstanceInfo.as_view()),
]